package com.higold.cloud.mvp.model

import com.higold.cloud.mvp.model.bean.marketList.MarketList
import com.higold.cloud.net.RetrofitManager
import com.higold.cloud.rx.scheduler.SchedulerUtils
import io.reactivex.Observable

/**
 *    author : lxz
 *    date   : 2019/9/7 11:03
 *    desc   :
 */
class MarketListModel {
    /**
     * 门店排名列表
     */
    fun requestDevelopList(): Observable<MarketList> {

        return RetrofitManager.service.requestMarketList()
                .compose(SchedulerUtils.ioToMain())
    }
}